home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr52
/
pdxvie.zip
/
FUNCS.CH
< prev
next >
Wrap
Text File
|
1993-04-01
|
3KB
|
67 lines
******************************************************************************
* When program is compiled with Clipper 5.01 rename this file *
* to FUNCS.CH *
******************************************************************************
#define Panel( lHelp ) EVAL( { | cDefCol | cDefCol := SETCOLOR( 'w+/n' ),;
DISPBOX( 0, 0, MAXROW(), 79, '▓▓▓▓▓▓▓▓▓', 'w+/n' ),;
DEVPOS( MAXROW(), 0 ),;
IF( lHelp, DEVOUT( PADL( 'F1 - Help', 80 ) ),;
QQOUT() ), SETCOLOR( cDefCol ) } )
#define Shad( nTR, nTC, nBR, nBC, lDoub, cClrs ) ;
DISPBOX( nTR+1, nTC+2, nBR+1, nBC+2, '░░░░░░░░░', 'w+/n' );;
DISPBOX( nTR, nTC, nBR, nBC, IF( lDoub, '╔═╗║╝═╚║ ',;
SPACE( 9 ) ), IF( EMPTY( cClrs ), NIL, cClrs ) )
#define BoxShad( nTR, nTC, nBR, nBC, cClrs );
RESTSCREEN( nTR + 1, nTC + 2, nBR + 1, nBC + 2,;
TRANSFORM( SAVESCREEN( nTR + 1, nTC + 2, nBR + 1, nBC + 2 ),;
REPLICATE( 'X', ( nBR-nTR+1 ) * ( nBC-nTC+1 ) ) ) );;
DISPBOX( nTR, nTC, nBR, nBC, '╔═╗║╝═╚║ ', cClrs )
#define Credit();
Panel( .F. );;
Shad( 4, 13, 21, 63, .T., 'w+/b' );;
SETCOLOR( "w+/b" ); DevPos( 5, 17 );;
DevOut( "This Demo was created at" );;
DevPos( 7, 20 ); DevOut( "Main Architect:" );;
DevPos( 9, 20 );;
DevOut( "With a little help from his friends." );;
DevPos( 18, 16 );;
DevOut( "Without their help and @#*%!)$? constructive" );;
DevPos( 19, 19 );;
DevOut( "criticism, you wouldn't be seeing this." );;
SETCOLOR( "GR+/B" ); DevPos( 7, 36 );;
DevOut( "Micheal Todd Charron" ); DevPos( 10, 31 );;
DevOut( "Arturo Austrich" ); DevPos( 11, 31 );;
DevOut( "Michelle Benoit" ); DevPos( 12, 32 );;
DevOut( "Paul Cornect" ); DevPos( 13, 33 );;
DevOut( "Gloria Eade" ); DevPos( 14, 32 );;
DevOut( "Ferdinand Ho" ); DevPos( 15, 35 );;
DevOut( "Fred Ho" ); DevPos( 16, 31 );;
DevOut( "Tony Makhlouta" ); SETCOLOR( "BR+/B" );;
DevPos( 5, 42 ); DevOut( "Nantucket Canada." );;
DevPos( 20, 28 );;
DevOut( "(c) Nantucket Software Canada 1990" );;
DevPos( 24, 79 )
#define SaveFullScreen() cFullScreen := SAVESCREEN( 0, 0, 24, 79 )
#define RestFullScreen() RESTSCREEN( 0, 0, 24, 79, cFullScreen )
#define WaitKey( lCont );
INKEY( 5 ); DEVPOS( 24, 0 ); DEVOUT( 'Press any key to ');;
DEVOUT( IF( lCont, 'Continue . . .', 'Exit . . .') );;
INKEY( 60 )
#define Range( xVar, xExpr1, xExpr2 );
( xVar >= MIN( xExpr1, xExpr2 ) .AND.;
xVar <= MAX( xExpr1, xExpr2 ) )
#define Beep() Tone(300,3)
#define PressAnyKey();
EVAL( { | cDefCol | cDefCol := SETCOLOR( 'w+/n' ),;
DEVPOS( MAXROW(), 52 ), DEVOUT( 'Press any key to continue...'),;
SETCOLOR( cDefCol ), INKEY( 0 ) } )